package com.marketapp.service;

import java.util.Set;

import com.marketapp.domain.UserInfo;
import com.marketapp.domain.UserRole;
import com.marketapp.helper.ServiceException;

public interface IUserService {
	
	public UserInfo getUserByName()throws ServiceException;
	
	public Set<UserRole> getUserAuthorities (UserInfo userInfo)throws ServiceException;
	
	public void createUser(UserInfo userInfo)throws ServiceException;
	
	public boolean checkifUserExists(String userName) throws ServiceException;

}
